/*响应式导航栏*/
.navbar {
    width: 100%;
  }
  
  .nav-box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  
  }
  
  .nav-box li {
    list-style: none;
    height: 56px;
    width: 55px;
    line-height: 56px;
    border: 2px solid transparent;
    text-align: center;
    margin-left: 20px;
  }
  
  
  .nav-box a {
    text-decoration: none;
    color: #fff;
  }
  
  .label div {
    width: 27px;
    height: 4px;
    margin: 7px auto;
    background-color: rgb(14, 10, 10);
  }
  
  .label {
    float: right;
    width: 40px;
    height: 40px;
    border: 1px solid;
    margin: 9px 15px 9px 9px;
    background-color: #fff;
    display: none;
  }
  
  .label+input {
    display: none;
  }
  
  @media screen and (min-width: 768px) {
    .nav-box li:hover {
      border-bottom: 2px solid #fff;
    }
  
    .active {
      border-bottom: 2px solid #fff !important;
    }
  
  }
  
  @media screen and (max-width: 768px) {
    .navbar {
      width: 100%;
      overflow: hidden;
    }
  
    .nav-box {
      position: absolute;
      display: flex;
      left: 0;
      flex-direction: column;
      margin-top: 60px;
      width: 100%;
      transform: scaleY(0);
      transition: transform .2s ease-in-out;
      opacity: 0;
      transform-origin: 0 0;
    }
  
    .nav-box li {
      width: 100%;
      margin: 0;
    }
  
    .nav-box li:hover {
      background-color: #888;
    }
  
    .label {
      display: block;
      cursor: pointer;
    }
  
    .label+input:checked+.nav-box {
      transform: scaleY(1);
      opacity: 1;
    }
  
    .active {
      background-color: #888 !important;
  
    }
  
  }